package com.ttdev.mmms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;


/**
 * 总店铺实体类
 */

@AllArgsConstructor
@Data
@TableName("store_info")
public class StoreInfo {

    // 店铺id
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

//    // 店长id
//    @TableField(value = "store_id")
//    private Integer storeId;

    // 店铺名称
    @TableField(value = "store_name")
    private String storeName;

    // 店铺电话
    @TableField(value = "iphone")
    private String iphone;

    // 用户名
    @TableField(value = "name")
    private String name;

    // 密码
    @TableField(value = "password")
    private String password;

}
